
import { lazy } from 'react';
import layoutRoutes from "@/routes/layout/layoutRoutes";
import LayoutPc from "@/pages/Layout";
const routes = [
    {
        path: '/',
        name: 'home',
        type: 'root',
        component: () => <LayoutPc/>,
        children: layoutRoutes,
    },
    {
        path: '/login',
        name: 'login',
        component: lazy(() => import('@/pages/Login')),
        meta: {},
    },
    {
        path: '/register',
        name: 'register',
        component: lazy(() => import('@/pages/Register')),
        meta: {},
    },


];
export default routes;